package serviceprovider.service.impl;

import org.springframework.stereotype.Service;
import serviceprovider.pojo.Product;
import serviceprovider.service.ProductService;

import java.util.Arrays;
import java.util.List;

/**
 * @author anhaimeng
 * @title: ProductServiceImpl
 * @projectName eurekademo002
 * @description: TODO
 * @date 2021/10/1817:56
 */
/*功能描述
 * @author ahm
 */
@Service
public class ProductServiceImpl implements ProductService {
    @Override
    public List<Product> selectProductList() {
        return Arrays.asList(
                new Product(1,"huawei",666,2333.00D),
                new Product(2,"lenovo",30,2333.00D),
                new Product(3,"xiaomi",40,2333.00D)
        );
    }
}
